home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / UTILITIE / CONVERSI / 1396.ZIP / RS.DOC < prev    next >
Text File  |  1986-12-18  |  664b  |  23 lines

  1. -------------------------------------------------------------------------------
  2.  RS
  3. -------------------------------------------------------------------------------
  4. Summary:
  5.  
  6.      rs [< filename]
  7.  
  8.  
  9. RS is a filter that removes all white spaces (spaces and TABs) between the 
  10. last word and the carriage return at the ends of lines in text files.
  11.  
  12.      Before:                     After:
  13.  
  14.      last word. ^I[CR]           last word.[CR]
  15.      end of text.    [CR]        end of text.[CR]
  16.      sentence.^I^I^I^I[CR]       sentence.[CR]
  17.  
  18. Example:
  19.  
  20. Remove unnecessary spaces and tabs from textfile and place it in newfile.
  21.  
  22.      rs <texfile >newfile
  23.